package com.tofindaway.jms;

import java.io.Serializable;

public class MyMsg implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String title;
	private String content;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public MyMsg(String title, String content) {
		super();
		this.title = title;
		this.content = content;
	}

	public MyMsg() {
		super();
	}

	@Override
	public String toString() {
		return "MyMsg [title=" + title + ", content=" + content + "]";
	}

}
